package main

import "sort"

func main() {
	inventoryManagement([]int{1, 2, 3, 4, 5}, 3)
}
func inventoryManagement(stock []int, cnt int) []int {
	sort.Ints(stock)
	return stock[:cnt]
}
